package demo.xlj.yuyi.studentapp;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;

import demo.xlj.yuyi.studentapp.myView.RectTextView;
import demo.xlj.yuyi.studentapp.myView.TiMiDialog;

public class Test3Activity extends Activity {

    /**
     * 主要是为了演示头部透明的Activity
     * @param savedInstanceState
     */

    private RectTextView mRectTextView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_test3);
        mRectTextView = (RectTextView) findViewById(R.id.rectTextView_one);
        mRectTextView.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                TiMiDialog tiMiDialog = new TiMiDialog(Test3Activity.this);
                tiMiDialog.showDialog(0);
            }
        });
    }
}
